#include "stm32f10x.h"                  // Device header
#include "PWM.h"

void Servo_Init()
{
	PWM_Init();
}

void Servo_setAngle(float Angle)
{
	TIM_SetCompare2(TIM2,Angle/180*2000+500);
}